package com.code.day13String;

import javax.imageio.metadata.IIOMetadataFormatImpl;
import java.util.Scanner;

public class Test07 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String data = sc.next();

        int big = 0;
        int small = 0;
        int number = 0;

        for (int i = 0; i < data.length() ; i++) {
          char c = data.charAt(i);
          if( c>='A' && c<='Z'){
              big++;
          }else if( c>='a' && c<='z'){
              small++;
          }else if( c>='0' && c<='9'){
              number++;
          }
        }
        System.out.println("big="+big);
        System.out.println("small="+small);
        System.out.println("number="+number);
    }



}
